package com.moore.service;

import com.moore.bean.Family;
import com.moore.bean.Tenant;
import com.moore.bean.TenantInfo;
import com.moore.dto.ResponseData;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface TenantService {

    ResponseData regTenant(Tenant tenant);

    ResponseData saveTenantInfo(TenantInfo tenantInfo, List<Family> familyList);

    ResponseData tenantLogin(Tenant tenant);

    ResponseData updateTenant(Tenant tenant);

    ResponseData queryTenantInfo(String tenant, HttpServletRequest httpServletRequest);

    ResponseData getTenantCountByMonth();

}
